-- GENERATED SPELL FOR [Mariner Bladewhisper] --


function spell0_24996(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24996', 5307, 1)
end

function Sorts_24996(pUnit, Event)
local choix_sorts_24996 = math.random(0, 0)
if choix_sorts_24996 == 0 then
pUnit:RegisterEvent('spell0_24996', 1, 1)
end
end

function mob24996_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24996', math.random(1500, 3000), 1)
end

function mob24996_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24996_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24996_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24996, 1, 'mob24996_Action')
RegisterUnitEvent(24996, 2, 'mob24996_Leave')
RegisterUnitEvent(24996, 3, 'mob24996_Kill')
RegisterUnitEvent(24996, 4, 'mob24996_Die')
